package com.rainbowelephant.fun.fitness;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;

public class MainActivity extends Activity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_main, menu);
		return true;
	}

	public void profile(View view) {
		Intent intent = new Intent(this, ProfileActivity.class);
		startActivity(intent);
	}

	public void training(View view) {
		Intent intent = new Intent(this, TrainingActivity.class);
		startActivity(intent);
	}

	public void workoutBuilder(View view) {
		Intent intent = new Intent(this, WorkoutBuilderActivity.class);
		startActivity(intent);
	}

	public void tools(View view) {
		Intent intent = new Intent(this, ToolsActivity.class);
    	startActivity(intent);
	}

	public void exit(View view) {
		System.exit(0);
	}
}
